package com.novelot.plugin.gradle

object Log {
    const val TAG = "novelot"

    fun v(tag: String = TAG, map: Map<*, *>) {
        v(tag, "map:")
        map.entries.forEach {
            v(tag, it)
        }
    }

    fun v(tag: String = TAG, kv: Map.Entry<*, *>) {
        v(tag, "  ${kv.key.toString()}:${kv.value}")
    }

    fun v(tag: String = TAG, str: String) {
        println("${tag}: ${str}")
    }
}